<!DOCTYPE HTML>
<html>
<head>
<title>Virtual Traning Pedia - Technology Games, Courses, Hot Jobs, Interview Questions</title>
<!-- Bootstrap -->
<link href="css/bootstrap.min.css" rel='stylesheet' type='text/css' />
<link href="css/bootstrap.css" rel='stylesheet' type='text/css' />
<meta name="viewport" content="width=device-width, initial-scale=1">
<script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script>
 
<link rel="stylesheet" href="fonts/css/font-awesome.min.css">
<link rel="stylesheet" href="fonts/css/font-family.css">
<link href="css/style.css" rel="stylesheet" type="text/css" media="all" />


<script src="js/jquery.min.js"></script>
<script src="js/jquery.circliful.min.js"></script>
<script src="js/commonfunctions.js"></script>
<script src="js/url.js"></script>
<script src="js/load.js"></script>
<script>
$( document ).ready(function() {
	if(typeof localStorage["admin_id"]=='undefined'){
		window.location="index.html";
	}
	getAllCourses();
	getAllSubjects();
	editQuestion();
});
</script>
<link href="css/jquery.nouislider.css" rel="stylesheet">
<script src="js/jquery.nouislider.js"></script>

<link rel="stylesheet" href="css/clndr.css" type="text/css" />
<script src="js/underscore-min.js"></script>
<script src= "js/moment-2.2.1.js"></script>
<script src="js/clndr.js"></script>
<script src="js/site.js"></script>


<script type="text/javascript" src="js/bootstrap.js"></script>
<script type="text/javascript" src="js/bootstrap.min.js"></script>

<link rel="stylesheet" href="css/demo.css">
<link rel="stylesheet" href="css/font-awesome.css">
<link rel="stylesheet" href="css/sky-forms.css">
<link rel="stylesheet" href="css/sky-forms-orange.css">
<script src="js/jquery-ui.min.js"></script>
</head>
	<body>
	<div class="col-md-12 "> <a href="javascript:void(0);" onclick="logoFunction(0)"><img src="images/vtp-logo.png" width="163" height="127" class="img-responsive logo"></a><div style="position:absolute; top:47px; right:90px;"><button type="button" onclick="logoutFunction()" class="btn btn-danger btn-outline btn-sm">Logout</button></div> </div> 
	<div class="col-md-12">
			<div class="grid2_of_1">
					
                    <div class="body">			
			<form class="sky-form" >
				<header>Add Question</header>
				<fieldset>
					<section>
						<label class="label">Select a Course</label>
						<label class="select">
							<select id="course_name" name="course_name"  >
							<option value="">Select Course</option>
							</select><span id="course_nameError" name="course_nameError" style="color:red"></span> 
							<i></i>
						</label>
					</section>
					<section>
						<label class="label">Select a Subject</label>
						<label class="select">
							<select id="subject_name" name="subject_name"  >
							<option value="">Subject Name</option>
							</select><span id="subject_nameError" name="subject_nameError" style="color:red"></span> 
							<i></i>
						</label>
					</section>
					
					<section>
						<label for="file" class="input">
							<input type="text" id="question_name" name="question_name" placeholder="Question_name"><span id="question_nameError" style="color:red;" ></span>
						</label>
					</section>
					
					<section>
						<label for="file" class="input">
							<input type="text" id="option1" name="option1" placeholder="option1">
						</label>
					</section>
					<section>
						<label for="file" class="input">
							<input type="text" id="option2" name="option2" placeholder="option2">
						</label>
					</section>
					<section>
						<label for="file" class="input">
							<input type="text" id="option3" name="option3" placeholder="option3">
						</label>
					</section>
					<section>
						<label for="file" class="input">
							<input type="text" id="option4" name="option4" placeholder="option4">
						</label>
					</section>
					<section>
						<label for="file" class="input">
							<input type="text" id="correct_answer" name="correct_answer" placeholder="Correct Answer(option1||option2||option3)"><span id="correct_answerError"  style="color:red;"></span>
						</label>
					</section>
					<section>
						<label class="label">Select a Level</label>
						<label class="select">
						<select id="level" name="level" >
						   <option value="">Select Level</option>
						   <option value="1" >1</option>
						   <option value="2" >2</option>
						   <option value="3" >3</option>
						   <option value="4" >4</option>
						   <option value="5" >5</option>
						</select>
						<span id="levelError" name="levelError" style="color:red"></span> 
							<i></i>
						</label>
					</section>
					<section>
						<label class="label">Select a Level</label>
						<label class="select">
						<select id="year_of_experience" name="year_of_experience" >
						   <option value="">year of experience</option>
						   <option value="1" >1</option>
						   <option value="2" >2</option>
						   <option value="3" >3</option>
						   <option value="4" >4</option>
						   <option value="5" >5</option>
						</select>
						<span id="year_of_experienceError" name="year_of_experienceError" style="color:red"></span> 
							<i></i>
						</label>
					</section>
				</fieldset>
				<footer>
					<button type="button"  class="button" onclick="addQuestion()">Submit</button>
					<button type="button"  class="button" onclick="backQuestion()">Back</button>
					<span id="contacsuccess" style="color:red;"></span>
					<input type="hidden" value=0 id="hid_question_id" />
					<input type="hidden" value=0 id="hid_course_id" />
					<input type="hidden" value=0 id="hid_subject_id" />
				</footer>
			</form>
		</div>
		</div>
	</div>  
			<div class="clearfix"></div>
	<div class="copy">
		<p class="link"><span>&#169;All rights reserved |  by&nbsp;<a href="#"> Virtual Traning Pedia</a></span></p>
	</div>
</div>
</div>
</div>

